import React, { Component } from 'react';
import {
  View,
  Text,
  ActivityIndicator,
  StyleSheet,
} from 'react-native';

export default class LabMal extends Component {
  render() {
    return (
      <View style={styles.box}>
        <ActivityIndicator size="small" color="#fff" />
        <Text style={styles.lin}>loading...</Text>
      </View>
    )
  }
}

const styles = StyleSheet.create({
  box: {
    position: 'absolute',
    display: 'flex',
    alignItems: 'center',
    justifyContent: 'center',
    width: '100%',
    height: '100%',
    backgroundColor: 'rgba(0, 0, 0, .5)',
  },
  lin: {
    color: '#fff',
    marginTop: 10,
  }
})
